rm -rf lcov-report
mkdir lcov-report

lcov_exec=../../lcov-1.16/bin/lcov
genhtml_exec=../../lcov-1.16/bin/genhtml

$lcov_exec --capture --directory ./cmake-build-wsldebugcov/CMakeFiles/tests.dir --rc lcov_branch_coverage=1 --rc geninfo_no_exception_branch=1  --rc lcov_excl_line='delete.*' --output-file lcov-report/coverage.info \
--exclude "$(pwd)"'/cmake-build-wsldebugcov/*' --exclude '/usr/*' --exclude "$(pwd)"'/src/cli.cpp' --exclude "$(pwd)"'/test/*'
$genhtml_exec --branch-coverage lcov-report/coverage.info --output-directory lcov-report

# if (m) {
#  m->~MyInterface();  // deleting destructor
#}